package com.student.client.service;

import com.student.client.entity.Attendance;
import com.student.client.entity.StudentHealthy;
import com.student.client.mapper.AttendanceMapper;
import com.student.client.mapper.StudentHealthyMapper;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

import java.util.List;
@Service
public class HealthyService {
    @Autowired
    private StudentHealthyMapper studentHealthyMapper;

    public List<StudentHealthy> findAllHealthy(){
        return studentHealthyMapper.findAllHealthy();
    }

    public Integer addStudentHealthy(StudentHealthy studentHealthy){
        return studentHealthyMapper.addStudentHealthy(studentHealthy);
    }
}
